<template>
    <div>
        <NavLink/>
        <!-- 组件占位 -->
        <keep-alive v-if="$route.meta.keepAlive">
            <router-view ></router-view>
        </keep-alive>

        <router-view v-else></router-view>
         
    </div>
</template>

<script>
import NavLink from './components/NavLink.vue'

 export default {
      name:"App",
      components:{
        NavLink
      },
      
  }


</script>

<style>
*{
  margin: 0;
  padding: 0;
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
}
</style>